// 命名更方便管理
const storeToken = 'token'
// 保存token
export function setToken (token) {
  localStorage.setItem(storeToken, token)
}

// 获取token
export function getToken () {
  return localStorage.getItem(storeToken)
}

// 删除token
export function removeToken () {
  localStorage.removeItem(storeToken)
}
